<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<!--框架必需start-->
<script type="text/javascript" src="../../libs/js/jquery.js"></script>
<script type="text/javascript" src="../../libs/js/language/cn.js"></script>
<script type="text/javascript" src="../../libs/js/framework.js"></script>
<link href="../../libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" id="skin" prePath="../../" scrollerY="false"/>
<link rel="stylesheet" type="text/css" id="customSkin"/>
<!--框架必需end-->

<!--动态选项卡start-->
<script type="text/javascript" src="../../libs/js/nav/dynamicTab.js"></script>
<!--动态选项卡end-->

<!--折叠js-->
<script src="../../libs/js/nav/nav_fold.js" type="text/javascript" charset="utf-8"></script>
<!--折叠js End-->
</head>
<body>
<table width="100%">
		<tr>
			<td class="ver01">
				
			<div class="contentMenu" style="width: 150px;">
				<div class="menu_win">
					<div class="menu_list active">
						<a tabUrl="../../sample_skin/content/content1.html" id="1">
							基本信息
						</a>
					</div>
					<div class="menu_list">
						<a tabUrl="../../sample_skin/content/content2.html" id="2">
							工作经历
						</a>
					</div>
					<div class="menu_list">
						<a tabUrl="../../sample_skin/content/content3.html" id="3">
							教育经历
						</a>
					</div>
					<span class="menu_span"></span>
					<div class="menu_list">
						<a tabUrl="../../sample_skin/content/content4.html" id="4">
							修改密码
						</a>
					</div>
					<div class="menu_list">
						<a tabUrl="../../sample_skin/content/content1.html" id="5">
							安全验证
						</a>
					</div>
					<span class="menu_span"></span>
					<div class="menu_list">
						<a tabUrl="../../sample_skin/content/content2.html" id="6">
							消息提醒
						</a>
					</div>
					<span class="menu_span"></span>
					<div class="menu_list">
						<a tabUrl="../../sample_skin/content/content3.html" id="7">
							语言设置
						</a>
					</div>
					<span class="menu_span"></span>
					<div class="menu_list">
						<a tabUrl="../../sample_skin/content/content4.html" id="8">
							修改头像
						</a>
					</div>
				</div>
			</div>

				
			</td>
			<td width="100%" class="ver01">
				<div id="tab_menu"></div>
				<div class="box1">
					<div id="page" style="width:100%;"></div>
				</div>
			</td>
		</tr>
	</table>
<script>

 var tab;
function initComplete(){


	$(".menu_list").find("a").click(function(event) {
		if($(this).attr("tabUrl")!=null){
			showProgressBar();

			//调用方法弹出tab
			//注意：生成tab的id不能与菜单id重复，所以前面加tab_
			tabAddHandler("tab_"+$(this).attr("id"),$(this).text().trim(),$(this).attr("tabUrl"))
		}
	});
	
	 tab = new TabView( {
		containerId :'tab_menu',
		pageid :'page',
		cid :'tab1',
		position :"top"
	});
	tab.add( {
		id :'tab1_index1',
		title :"表单填写",
		url :"../../sample_skin/content/content1.html",
		isClosed :false
	});
}

function tabAddHandler(mid,mtitle,murl){
		tab.add( {
		id :mid,
		title :mtitle,
		url :murl,
		isClosed :true
	});
	tab.activate(mid)
}
	

function customHeightSet(contentHeight){
	$(".contentMenu").height(contentHeight-50)
	$("#page").height(contentHeight-50);
}
</script>
</body>
</html>